package com.ctgu.tengyun.service.product;

import com.ctgu.tengyun.domain.ProductInfo;

import java.util.Collection;
import java.util.List;

/**
 * Created by liaoweizhi on 2019/7/21.
 */
public interface ProductInfoService {

    ProductInfo selectByPrimaryKey(Integer id);

    List<ProductInfo> selectByIds(Collection<Integer> ids);

    ProductInfo selectByProductNo(String productNo);

    List<ProductInfo> selectByProductNos(Collection<String> productNos);

    void insertSelective(ProductInfo productInfo);

    Integer countProduct(String productNo, String productName);

    List<ProductInfo> selectProduct(Integer pageNo, Integer pageSize, String productNo, String productName);

    int updateByPrimaryKeySelective(ProductInfo record);

}
